package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.model.domain.mysql.UserInfo;

public interface BlackListApi {

    /**
     * description: 黑名单查询 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 21:11 <br>
     * author: SangWu <br>
     *
     * @param userId
     * @param page
     * @param pageSize
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.tanhua.model.domain.mysql.UserInfo>
     */
    IPage<UserInfo> findBlacklist(Long userId, int page, int pageSize);

    /**
     * description: 黑名单删除 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 21:11 <br>
     * author: SangWu <br>
     *
     * @param userId
     * @param blackUserId
     * @return void
     */
    void delete(Long userId, Long blackUserId);
}